﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Web;
using EzDesk.Clients.MobileWeb.CoreClientLoginService;
using EzDesk.Utility.Web.Controllers;
using EzDesk.Clients.MobileWeb.CoreClientService;
using EzDesk.Clients.MobileWeb;
using EzDesk.Utility.Web.ServiceReference;

namespace EzDesk.Clients.MobileWeb.Controllers
{
    public class EzDeskMobileClientController : EzDeskController
    {
        private ICoreClientService _coreClientService;
        private ICoreClientLoginService _coreClientLoginService;

        protected ICoreClientService CoreClientService
        {
            get
            {
                return ServiceReferenceFactory<ICoreClientService, CoreClientServiceClient>
                    .GetServiceWithUseragentStr("EzDesk,GenericcMobile");
            }
        }

        protected ICoreClientLoginService CoreClientLoginService
        {
            get
            {
                return ServiceReferenceFactory<ICoreClientLoginService, CoreClientLoginServiceClient>
                    .GetService();
            }
        }

    }


}